package com.heima.article.service.impl;


import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.heima.article.mapper.WmApAuthorMapper;
import com.heima.article.service.WmApAuthorService;
import com.heima.model.article.pojos.ApAuthor;
import com.heima.model.common.dtos.ResponseResult;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class WmApAuthorServiceImpl extends ServiceImpl<WmApAuthorMapper, ApAuthor> implements WmApAuthorService {
    @Autowired
    private WmApAuthorMapper wmApAuthorMapper;
    @Override
    public ApAuthor getArticleName(int id) {
        return wmApAuthorMapper.selectById(id);
    }
}
